<%--
  Created by IntelliJ IDEA.
  User: 任
  Date: 2019/2/12
  Time: 16:03
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<script type="text/javascript">

    function appAppVersion() {
        $("#AppVersion").css({"visibility":"inherit"});
        $("#AppVersion").siblings().css({"visibility":"hidden"});
    }
</script>
<body >
<div class="layui-layout layui-layout-admin">
    <div class="layui-header"  style="background-color: burlywood">

        <!-- 头部区域（可配合layui已有的水平导航） -->
        <ul class="layui-nav">
            <li class="layui-nav-item">
                <i class="layui-icon layui-icon-face-smile" style="font-size: 30px; color: beige;"></i>
            </li>
            <li class="layui-nav-item">
                <a href="">个人中心<span style="background-color: burlywood" class="layui-badge-dot"></span></a>
            </li>

        </ul>
        <ul class="layui-nav layui-layout-right">
            <li class="layui-nav-item">
                <a href="javascript:;">
                    <c:if test="${backendUser!=null}"> <img src="statics/layui/images/20181221111747.jpg"
                                                            class="layui-nav-img">
                        ${backendUser.userName}
                    </c:if>
                    <c:if test="${devUser!=null}"> <img src="statics/layui/images/20181221111747.jpg"
                                                        class="layui-nav-img">
                        ${devUser.devName}
                    </c:if>

                    <i class="layui-icon  layui-icon-female" style="font-size: 10px; color:#eb7350;"></i>
                </a>
                <dl class="layui-nav-child" >
                    <dd><a href=""> 设置 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<i
                            class="layui-icon layui-icon-set" style="font-size:15px;"></i></a></dd>
                    <dd><a href=""> 切换账号&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<i
                            class="layui-icon layui-icon-return" style="font-size:15px;"></i></a></dd>
                </dl>
            </li>
            <li class="layui-nav-item"><a href="">退出 <i class="layui-icon  layui-icon-next"
                                                        style="font-size: 10px; color:#999999;"></i></a></li>
        </ul>
    </div>

    <div class="layui-side layui-bg-black">
        <div class="layui-side-scroll" style="background-color: burlywood">
            <ul class="layui-nav layui-nav-tree" lay-filter="test"  style="background-color: burlywood">
                <c:if test="${backendUser!=null}">
                    <li class="layui-nav-item" style="padding-left: 20px">

                        <img src="statics/layui/images/20181221111747.jpg" class="layui-nav-img">
                            ${backendUser.userName}
                        <i class="layui-icon  layui-icon-female" style="font-size: 10px; color:#eb7350;"></i>
                        <div>账号：<span style="color: #999999">${backendUser.userCode}</span></div>

                    </li>
                </c:if>
                <c:if test="${devUser!=null}">
                    <li class="layui-nav-item" style="padding-left: 20px">

                        <img src="statics/layui/images/20181221111747.jpg" class="layui-nav-img">
                            ${devUser.devName}
                        <i class="layui-icon  layui-icon-female" style="font-size: 10px; color:#eb7350;"></i>
                        <div>账号：<span style="color: #999999">${devUser.devCode}</span></div>

                    </li>
                </c:if>
                <c:if test="${devUser.devCode!=null}">
                    <li class="layui-nav-item">

                        <a href="javascript:;"> <i class="layui-icon layui-icon-group" style="font-size:15px;"></i> &nbsp;&nbsp;App账户管理</a>
                        <dl class="layui-nav-child">
                            <dd><a href="">待定</a></dd>

                        </dl>
                    </li>
                    <li class="layui-nav-item">
                        <a href="javascript:;"><i class="layui-icon layui-icon-util" style="font-size:15px;"></i> &nbsp;&nbsp;App应用管理</a>
                        <dl class="layui-nav-child">
                            <dd><a href="app/list" ><i class="layui-icon layui-icon-set-fill" style="font-size:15px;"></i> &nbsp;&nbsp;App维护</a>
                            </dd>
                        </dl>
                    </li>
                </c:if>
                <c:if test="${backendUser.userCode!=null}">
                    <li class="layui-nav-item">
                        <a href="javascript:;"> <i class="layui-icon layui-icon-group" style="font-size:15px;"></i> &nbsp;&nbsp;App管理</a>
                        <dl class="layui-nav-child">
                            <dd><a href="app/list">App审核</a></dd>
                            <dd><a href="javascript:void(0)">广告推广</a></dd>
                        </dl>
                    </li>
                    <li class="layui-nav-item">
                        <a href="javascript:;"> <i class="layui-icon layui-icon-group" style="font-size:15px;"></i> &nbsp;&nbsp;用户管理</a>
                        <dl class="layui-nav-child">
                            <dd><a href="">待定</a></dd>
                        </dl>
                    </li>
                    <li class="layui-nav-item">
                        <a href="javascript:;"> <i class="layui-icon layui-icon-group" style="font-size:15px;"></i> &nbsp;&nbsp;基础数据维护</a>
                        <dl class="layui-nav-child">
                            <dd><a href="">待定</a></dd>
                        </dl>
                    </li>
                </c:if>

            </ul>
        </div>
    </div>
</body>
</html>
